﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SvnCommitNotifier
{
    public class SvnFileStatus
    {
        public string Status
        {
            get;
            set;
        }

        public string PropertiesStatus
        {
            get;
            set;
        }

        public string IsLocked
        {
            get;
            set;
        }

        public string Path
        {
            get;
            set;
        }

        public SvnFileStatus()
        {
        }

        public SvnFileStatus(string status, string path)
        {
            var statses = status.ToCharArray();
            Status = statses[0].ToString();
            PropertiesStatus = statses[1].ToString();
            IsLocked = statses[2].ToString();
            Path = path;
        }
    }
}
